﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataExtractionLanguage
{
    /// <summary>
    /// Represents the two parts or the join linkage base.
    /// </summary>
    /// <remarks>DailyNews.Source = Sources.Source</remarks>
    public class LinkageBase
    {
        /// <summary>
        /// Gets or sets the left part of the linkage base equality.
        /// </summary>
        public Term LeftPart { get; set; }

        /// <summary>
        /// Gets or sets the operator of the linkage base.
        /// </summary>
        public TokenTypeEnum Operator { get; set; }

        /// <summary>
        /// Gets or sets the right part of the linkage base equality.
        /// </summary>
        public Term RightPart { get; set; }
    }
}
